package ua.com.ulitko.server;

import org.springframework.context.support.ClassPathXmlApplicationContext;
import ua.com.ulitko.server.dao.PerformerDao;

/**
 * @author suamo ( 31.03.12 23:40 )
 */
public class ContextLoader {

    public static PerformerDao getPerformerDao() {
        return  (PerformerDao)new ClassPathXmlApplicationContext("spring/config/BeanLocations.xml").getBean("performerDao");
    }
}
